package base.day15.Atext;

public class Text2 {
    public static void main(String[] args) {
        Zi1 zi=new Zi1();
    }
}
class Fu1{
    int a;
    public Fu1(){
        System.out.println("父类中的空参构造方法");
    }
    public Fu1(int a){
        this.a=a;
        System.out.println(this.a);
    }
}
class Zi1 extends Fu1{
   public Zi1(){
        System.out.println("子类中的空参构造方法");
    }
    public Zi1(int a){
        super(a);
    }
}
